<table class="table table-striped">
    <thead>
    <tr>
        <th>标题</th>
        <th>内容</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>ID</td>
        <td>{$topic.id}</td>
    </tr>
    <tr>
        <td>{:__('Title')}</td>
        <td>{$topic.title}</td>
    </tr>
    <tr>
        <td>{:__('Fraction')}</td>
        <td>{$topic.fraction}</td>
    </tr>
    <tr>
        <td>{:__('Type')}</td>
        <td>{$topic.type_str}</td>
    </tr>
    <tr>
        <td>{:__('Info point')}</td>
        <td>
            <table id="table" class="table table-striped table-bordered table-hover"
                   width="100%">
                <thead>
                <tr>
                    <th width="15%">ID</th>
                    <th width="15%">{:__('Name')}</th>
                    <th width="15%">{:__('Subject')}</th>
                    <th width="15%">{:__('Grade')}</th>
                    <th width="15%">{:__('Chapter')}</th>
                    <th width="20%">{:__('Press')}</th>
                </tr>
                </thead>
                <tbody >
                {volist name="list" id="vo"}
                <tr>
                    <td>{$vo['id']}</td>
                    <td>{$vo['name']}</td>
                    <td>{$vo['subject']['name']}</td>
                    <td>{$vo['grade']['name']}</td>
                    <td>{$vo['chapter']['name']}</td>
                    <td>{$vo['press_text']}</td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </td>
    </tr>
    </tbody>
</table>
<input type="hidden" name="id" id="topic_id" value="{$topic.id}">
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
